package com.lifesea.dao.mybatis;

import com.lifesea.model.GhOrder;
import com.lifesea.model.GhOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GhOrderMapper {
    int countByExample(GhOrderExample example);

    int deleteByExample(GhOrderExample example);

    int deleteByPrimaryKey(Long bookId);

    int insert(GhOrder record);

    int insertSelective(GhOrder record);

    List<GhOrder> selectByExample(GhOrderExample example);

    GhOrder selectByPrimaryKey(Long bookId);

    int updateByExampleSelective(@Param("record") GhOrder record, @Param("example") GhOrderExample example);

    int updateByExample(@Param("record") GhOrder record, @Param("example") GhOrderExample example);

    int updateByPrimaryKeySelective(GhOrder record);

    int updateByPrimaryKey(GhOrder record);
}